<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./a.js" async></script>
    <script src="./b.js" defer></script>
    <script src="./c.js" rel="preload" as="script"></script>
</head>
<body>
    <div>JavaScript执行</div>
</body>
<script>
    console.log(3)
    window.onload = function() {
        console.log('onload')
    }
    document.addEventListener('DOMContentLoaded', function() {
        console.log('dom')
    })
</script>
</html>